<template>
  <div>
    <h2>Hello Webpack Vue</h2>
    <button @click="handleError">点击错误</button>
    <br>
    <CountComp />
  </div>
</template>

<script setup lang="ts">
import CountComp from '@/components/CountComp.vue'
const handleError = () => { 
  throw new Error('error')
}
</script>

<style scoped>
</style>
